package com.totoro.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.totoro.dao.BaseHibernateDao;
import com.totoro.dao.StudentApplicationDao;
import com.totoro.domain.StudentApplication;

/*
 * 学生报题service
 */
@Transactional
@Service
public class StudentApplicationService extends BaseService<StudentApplication, Integer>{

	private StudentApplicationDao studentApplicationDao;
	
	@Autowired
	@Override
	public void setBaseDao(BaseHibernateDao<StudentApplication, Integer> studentApplicationDao) {
		// TODO Auto-generated method stub
		this.baseDao = studentApplicationDao;
		this.studentApplicationDao = (StudentApplicationDao) studentApplicationDao;
	}

}
